package com.atguigu.ssyx.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class WebSocketResult {

    @JsonProperty("SN")
    private Integer sn;

    @JsonProperty("1号门")
    private String gate1;

    @JsonProperty("2号门")
    private String gate2;

    @JsonProperty("刷新时间")
    private String refreshTime;

    @JsonProperty("服务器时间")
    private String serverTime;


    @JsonProperty("索引位")
    private Integer index;

    @JsonProperty("记录类型")
    private Integer recordType;

    @JsonProperty("描述")
    private String description;

    @JsonProperty("卡号")
    private Long cardNo;

    @JsonProperty("门号")
    private Integer gateId;

    @JsonProperty("进出")
    private String inOrOut;

    @JsonProperty("有效")
    private String valid;

    @JsonProperty("时间")
    private String time;

    @JsonProperty("原始十六进制数据")
    private String originalHexData;
    @JsonProperty("转换为字符串")
    private String convertToString;
    @JsonProperty("流水号")
    private Integer serialNumber;

}
